QUERY

get_asset_origin_by_id

@mount("ft4.crosschain.get_asset_origin_by_id") query get_asset_origin_by_id(asset_id: byte_array): byte_array?

Retrieves the origin chain RID for the specified asset. If this asset does not have an origin, which is the case if this asset is not a crosschain asset, this query will return null.

Parameters

  • asset_id — id of the asset to get the origin for

See Also

  • [core.crosschain.asset_origin] — for more information on asset origin chain
© 2024 Chromia